Subtly changing my profile picture until anyone notices

I have had the same profile picture forever on Discord - I think I’ve had the same one for 5 years at least. The picture is the cropped face of some poor stock photo model posed as a stereotypical French man, with baret, baguette and all.

My Discord avatar for the last 5 years or so. Even though he is handsome, this picture is not of me.

One evening, I decided to perform a little experiment on my friends. How long would it take for them to notice that the brightly coloured red hat worn in my profile picture had changed colour? I decided to only change the colour subtly to not alert their attention. My hope was, that they would get used to the colour of my avatar throughout, and I would be able to attain a ridiculous bright cyan or green without any remarks.

I cut the hat out of the picture and placed it in a separate file and used ImageMagick to change the hue 1%. In particular, I used the -modulate transformation in ImageMagick which allows me to alter the HSL color values of every pixel.

Hue, Saturation, Lightness (HSL) representations of colour.

Using ImageMagick, I then composited this on top of the old image.

Files used and generated as I subtly altered my Discord profile picture.

I scripted the entire thing in Powershell (I hated it) and the script can be seen below:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
$start_date = "04-07-2023"

$datestr = Get-Date -Format "yyyyMMdd"
$date = Get-Date -Format "MM-dd-yyyy"
$day = (New-TimeSpan -Start $start_date -End $date).Days

magick french_hat.png -modulate 100,100,(100+$day) french_hat_hue.png
magick composite french_hat_hue.png french.jpg french_hue.png
$outpath = ("hues/" + $datestr + ".jpg")
Copy-Item french_hue.png $outpath
Set-Clipboard (Resolve-Path french_hue.png)
Echo "Path copied to clipboard. Set as Discord avatar"
Pause

The script calculates how much the hue should be altered based on the date, and then modulates french_hat.png thereafter and composites it onto the original finally producing french_hue.png. The files are copied to a separate folder for later and the path is copied to the clipboard. I would’ve gone further and used the script to set the avatar automatically, but this is very much against Discord Terms of Service. The script runs every time I start my desktop computer where I then manually set the Discord avatar.

I am writing this now, because I have been discovered. After 15 days, someone remarked on my profile picture, asking if I had changed it or they were going colourblind. The experiment is concluded with this very Andy Warhol-like montage:

Every rendition of my Discord profile picture the last 15 days before I was discovered.

Published 23. April 2023

Last modified 23. April 2023